package lab02.test35;

/**
 * Created by 14394 on 2017/11/13.
 */
public class Salesman extends  Employee{
    private float baseSalary;

    private float deductionSalary;

    public Salesman(float baseSalary, float deductionSalary) {
        this.baseSalary = baseSalary;
        this.deductionSalary = deductionSalary;
    }

    @Override
    float computerSalary() {
        return baseSalary+deductionSalary;
    }
}
